package com.loong.member.model;

import com.loong.common.mybatis.entity.BaseEntity;
import java.math.BigDecimal;
import javax.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Builder
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "cart_item")
public class CartItem extends BaseEntity {
    @Column(name = "cart_id")
    private Long cartId;

    @Column(name = "goods_sku_id")
    private Long goodsSkuId;

    @Column(name = "goods_specification")
    private String goodsSpecification;

    @Column(name = "goods_num")
    private Integer goodsNum;

    @Column(name = "goods_status")
    private Integer goodsStatus;

    @Column(name = "item_price")
    private BigDecimal itemPrice;
}